package com.atguigu.lease.web.admin.service.impl;

import com.atguigu.lease.web.admin.vo.attr.AttrValueVo;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.lease.model.entity.RoomAttrValue;
import com.atguigu.lease.model.service.RoomAttrValueService;
import com.atguigu.lease.web.admin.mapper.RoomAttrValueMapper;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 老韦
* @description 针对表【room_attr_value(房间&基本属性值关联表)】的数据库操作Service实现
* @createDate 2024-08-16 18:28:23
*/
@Service
public class RoomAttrValueServiceImpl extends ServiceImpl<RoomAttrValueMapper, RoomAttrValue>
    implements RoomAttrValueService{

    @Autowired
    RoomAttrValueMapper roomAttrValueMapper;

    @Override
    public List<AttrValueVo> listAttrByRoomId(Long id) {
        return roomAttrValueMapper.listAttrByRoomId(id);
    }
}




